<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post">
    <table border=1px style="margin: 0 auto " >
        <tr>
            <td>姓名</td>
            <td><input type="text" name="sname"></td>
        </tr>
        <tr>
            <td>班级</td>
            <td><input type="text" name="cname"></td>
        </tr>


        <button>提交</button>
    </table>
</form>
</body>
</html>